<div class="container clearfix" id="otherInfo">
<?php
if($dataList){
?>
<table class="info" id="Other-table">
    <colgroup><col width="70">
    <col width="140">
    <col width="320">
    <col width="100">
    </colgroup><thead>
    <tr class="g9">
        <th></th>
        <th>培训名称</th>
        <th>培训时间</th>
        <th></th>
    </tr>
    </thead>
        <tbody>
        <?php
        foreach($dataList as $data){
            ?>
        <tr class=" " id="tr_Train_<?=$data['id']?>">
            <td></td>
            <td><?=$data['name']?></td>
            <td><?=$data['traintime']?></td>
            <td class="padding"><a href="index.php?c=MyResume&a=TrainShow&id=<?=$data['id']?>&height=220&width=770&keepThis=true&&TB_iframe=true" rel="train" title="修改此信息" class="icon edit thickbox">修改</a> <a onclick="delItem('Train','<?=$data['id']?>')" href="javascript:void(0);" target="_self" class="icon delete">删除</a></td>
        </tr>
        <?}?>
</tbody></table>

<?}else{?>
    <div class="notfilled">
        <ul class="nodata">
            <li class="think">培训经历可以让你更具求职竞争力。你参加过什么培训吗？&nbsp;&nbsp;<a class="addme thickbox" title="添加其他信息" href="?c=MyResume&a=TrainShow&height=220&width=770&keepThis=true&TB_iframe=true">添加</a></li>
            <li class="create">如果没有培训经验，建议你先<a class="discard dohide" href="javascript:void(0);" title="隐藏培训经历,不在简历中显示" rel="training" rel2="training">隐藏</a></li>
        </ul>
    </div>
    <script>$("#training-section h2 a").hide();</script>
 <?}?>
</div>